﻿@model IEnumerable<Fmis21_10.Models.News>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Layout.cshtml";
}

<div class="mytitle">Liên đoàn bóng đá
    <div class ="vn">Việt Nam</div>
    <div class ="vff"></div>
    
</div>
<div class="righttitle">
<div class="box1"><a href="Tournament/Index"><img src="../Images/box blue copy.jpg" /></a></div>
    <div class="box2"><a href="Club/Index"><img src="../Images/box red copy.jpg" /></a></div>
    <div class="box3"><a href="Player/Index"><img src="../Images/box green copy.jpg" /></a></div>
</div>
<div class="newstitle">
@*<p>
    @Html.ActionLink("Create New", "Create")
</p>*@
@*<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.NewTitle)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.NewInformation)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.NewDatetime)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Writer)
        </th>
        <th></th>
    </tr>*@

@foreach (var item in Model) {
    @*<tr>
        <td>
            @Html.DisplayFor(modelItem => item.NewTitle)
        </td>
        <td>
            
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NewDatetime)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Writer)
        </td>
        <td>*@
            //@Html.ActionLink("Edit", "Edit", new { id=item.NewsId }) 
            @Html.ActionLink(item.NewsTitle, "Details", new { id=item.NewsId },new { @class = "MyACClass" }) 
    <br/>
    @Html.DisplayFor(modelItem => item.NewsInformation)
    <br/>
    <hr />
    @Html.DisplayFor(modelItem => item.NewsDatetime)<div class="hehehe">
@Html.DisplayFor(modelItem => item.Writer)</div>
    <br />
           // @Html.ActionLink("Delete", "Delete", new { id=item.NewsId })
       @* </td>
    </tr>*@
}
    </div>
@*</table>*@
